package com.xqboss.apps.dto.punch;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.time.LocalTime;

/**
 * @author Trent
 * @date 2023/8/15
 */
@Data
@ApiModel
public class ChangePunchSaleableDto {

    @ApiModelProperty(value = "打卡規則ID", required = true)
    @NotNull(message = "请输入打卡规则ID")
    private Long id;

    @ApiModelProperty("是否上架")
    @NotNull(message = "请输入上架状态")
    private Boolean saleable;
}
